/**
 * Created by Wilson on 1/23/2015.
 */
(function () {
    angular.module('app')
        .factory('imgService', imgService);

    imgService.$inject = ['$window', 'httpService', 'configManager'];
    function imgService($window, httpService, configManager) {
        var Fac = {
            pushWxImgIdsToServer: pushWxImgIdsToServer
        };

        function pushWxImgIdsToServer(ids) {
            var params = {
                ids: ids
            }
            var url = configManager.HOST + '';
            return httpService.httpPost(url, params);
        }

        return Fac;
    }
})();